<html>
<head>
<title>Olive on OS X</title>
<link href="../page.css" rel="stylesheet" type="text/css"/>
<link href="../olive.css" rel="stylesheet" type="text/css"/>
<style>
  dt { font-size: large; font-style: italic; }
  dd { margin-bottom: 1em; }
  span.olive { color: #807960; font-style: italic; font-weight: bold;}
  span.up { color: #8888ee;}
  li { margin-bottom: 0.5em; }
</style>
</head>
<body>

  <h1>Olive on OS X</h1>

  <p>As it turns out, Olive <i>can</i> be run on OS X, but it is a
  momumental pain in the arse. Here are the brief instructions (to be
  expanded upon later).</p>

  <ol>
    <li>
      Manually install <code>Curses.pm</code> by downloading it from
      the CPAN and
      following <a
      href="http://www.entropy.ch/phpbb2/viewtopic.php?p=7135&highlight=&sid=4202f838c27789db8dcd03fa02a03ef8#7135">these
      instructions</a>.
    </li>
    <li>
      Something down the line will need <code>HTML::TokeParser</code>
      but apparently doesn't list it as a dependancy, so you may wish
      to install it now (I remember needing to do so, but don't
      remember what for).
    </li>
    <li>
      Manually install <code>XML::Parser</code>. Its only problem is
      that it doesn't know where to find the Expat libs and headers. I
      hope you have X11 installed, because <i>that</i> is where Apple
      put them. So do <code>'perl Makefile.PL
      EXPATLIBPATH=/usr/X11R6/lib
      EXPATINCPATH=/usr/X11R6/include'</code> and then proceed
      normally.
    </li>
    <li>
      Install <code>Curses::UI</code> manually. Before doing anything,
      remove the file <code>t/13notebook.t</code>. Then do the usual
      build procedure. This may or may not leave the new notebook
      functionality of <code>C::UI</code> unusable, but Olive doesn't
      use it, and those tests fail, and I didn't care enough to solve
      the underlying problem at the moment.
    </li>
    <li>
      Do <code>'cpan Bundle::Olive'</code>, which should now (unless I
      have forgotten something) install all the <i>rest</i> of Olive's
      dependancies.
    </li>
    <li>
      Install Olive.
    </li>
  </ol>

</body>
</html>
